﻿using MainInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace MainZNQD
{
    public class Activity
    {
        public string Name { get; set; }
        public string Description { get; set; }
        public IBuilder Buider { get; set; }
        public void LoadXml(XmlNode node)
        {
            XmlAttribute attr = node.Attributes["Name"];
            this.Name = attr.Value;
            attr = node.Attributes["Description"];
            this.Description = attr.Value;
        }
    }
}
